package com.ruibang.glass.material.domain.req.ycl;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@ApiModel(description = "物管-仓库管理-仓库信息管理 ")
public class ManagementInventoryReq extends PageRequest implements Serializable {
    @ApiModelProperty(value = "入库单号")
    private String number;
    @ApiModelProperty(value = "经手人")
    private String handlerName;
    @ApiModelProperty(value = "类型")
    private String typeCode;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "审批状态")
    private String approvalStatus;
    @ApiModelProperty(value = "审批状态")
    private String approveStatus;
    @ApiModelProperty(value = "结付状态")
    private String paymentStatus;

    @ApiModelProperty(value = "完成开始入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime completionStartTime;

    @ApiModelProperty(value = "完成结束入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime completionEndTime;

    @ApiModelProperty(value = "合同编号")
    private String contractNumber;

    @ApiModelProperty(value = "采购到货单")
    private String purchaseOrder;

    @ApiModelProperty(value = "原材料批次号")
    private String batchNumber;

    @ApiModelProperty(value = "条形码编号")
    private String barcodeNumber;

    @ApiModelProperty(value = "物品名称")
    private String itemName;
}
